<div class="theme-form">
    <?php echo $this->Form->create( "Theme",array("url"=>array( "controller" => "profesor", "action" => "adaugare_tema" )) ); ?>
    <fieldset>
        <div class="form-group"><?php echo $this->Form->input( "name", array(
                "label" => "Nume",
                "class" => "form-control",
                "pattern" => "[a-zA-Z0-9 ]{4,}"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "description", array(
                "label" => "Descriere Tema",
                "class" => "form-control",
                "type"=>"textarea",
                "pattern" => "[a-zA-Z0-9 ]{10,}"
            ) ); ?></div>

        <div class="added_requirements">


        </div>
        <div class="add_req_button" onclick="AddRequirement()">+ Adauga Cerinta</div>
        <?php echo $this->Form->end( array(
                                         "label" => "Adauga tema",
                                         "class" => "btn"
                                     ) ); ?>

    </fieldset>
</div>